import { Routes } from '@vue/router/routes'
import _import from '../_import'
const Views = _import('web/views/admin')
// src\web\views\admin\em\eqpt-list
export default [
  {
    path: 'home',
    name: Routes.Home,
    component: Views('home/Index')
  },
  {
    path: 'eqpt/list',
    name: Routes.EqptList,
    component: Views('em/eqpt-list/Index')
  },
  {
    path: 'eqpt/list/add',
    name: Routes.EqptListAdd,
    component: Views('em/eqpt-list/Add')
  },
  {
    path: 'eqpt/list/view',
    name: Routes.EqptListView,
    component: Views('em/eqpt-list/View')
  },
  {
    path: 'eqpt/type',
    name: Routes.EqptType,
    component: Views('bc/eqpt-type/Index')
  },
  {
    path: 'eqpt/type/add',
    name: Routes.EqptTypeAdd,
    component: Views('bc/eqpt-type/Add')
  },
  {
    path: 'eqpt/type/view',
    name: Routes.EqptTypeView,
    component: Views('bc/eqpt-type/View')
  },

  {
    path: 'user',
    name: Routes.UserMgt,
    component: Views('bc/user/Index')
  },
  {
    path: 'user/add',
    name: Routes.UserAdd,
    component: Views('bc/user/Add')
  },
  {
    path: 'user/view',
    name: Routes.UserView,
    component: Views('bc/user/View')
  },

  {
    path: 'auth',
    name: Routes.AuthMgt,
    component: Views('bc/auth/Index')
  },

  {
    path: 'org',
    name: Routes.OrgMgt,
    component: Views('bc/org/Index')
  },

  {
    path: 'eqpt/model',
    name: Routes.EqptModel,
    component: Views('bc/eqpt-model/Index')
  },
  {
    path: 'eqpt/model/add',
    name: Routes.EqptModelAdd,
    component: Views('bc/eqpt-model/Add')
  },
  {
    path: 'eqpt/model/view',
    name: Routes.EqptModelView,
    component: Views('bc/eqpt-model/View')
  },
  {
    path: 'config',
    name: Routes.ConfigMgt,
    component: Views('bc/config/Index')
  },

  {
    path: 'manufacturer',
    name: Routes.MfrMgt,
    component: Views('srm/mfr/Index')
  },
  {
    path: 'manufacturer/add',
    name: Routes.MfrAdd,
    component: Views('srm/mfr/Add')
  },
  {
    path: 'manufacturer/view',
    name: Routes.MfrView,
    component: Views('srm/mfr/View')
  },
  {
    path: 'wot',
    name: Routes.WorkOrderTpl,
    component: Views('sm/wot/Index')
  },
  {
    path: 'rp/month/index',
    name: Routes.RpMonthExp,
    component: Views('rp/month/Index')
  }
]
